Visual Basic (Declaration) | |
---|---|
Public Overridable Function GetEnumerator() As IEnumerator(Of KeyValuePair(Of TKey,TValue)) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ThreadSafeDictionary(Of TKey,TValue) Dim value As IEnumerator(Of KeyValuePair(Of TKey,TValue)) value = instance.GetEnumerator() |
C# | |
---|---|
public virtual IEnumerator<KeyValuePair<TKey,TValue>> GetEnumerator() |
C++/CLI | |
---|---|
public: virtual IEnumerator<KeyValuePair<TKey^,TValue^>>^ GetEnumerator(); |
Return Value
A IEnumerator that can be used to iterate through the collection.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7